package com.skyline.wo.dao;

import java.util.List;

import com.skyline.base.type.RemoteDeviceType;
import com.skyline.common.bean.Page;
import com.skyline.wo.model.ShortMessage;

public interface ShortMessageDao {
	public String insertShortMessage(Long ownerId, String ownerNickname, String ownerPortrait, String text, Long sourceOwnerId,
			String sourceOwnerNickname, String comment, List<Long> commetterIds, List<String> commetterNicknames, List<String> comments, Double spotLat,
			Double spotLng, Long spotId, String spotName, RemoteDeviceType remoteDeviceType);

	public ShortMessage queryShortMessage(String id);

	/**
	 * 
	 * @param ownerId
	 * @return
	 */
	public List<ShortMessage> queryShortMessageByOwnerId(Long ownerId, Page page);

	public void deleteShortMessage(long id, long actionerId);
}
